Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
Replied In
Fairplay Offline playback error
For us, we had two issues.
Nr 1: we were always using the same contentId for different assets.
Nr 2: We forgot to implement the AVContentKeySessionDelegate function:
public func contentKeySession(_ session: AVContentKeySession, didUpdatePersistableContentKey persistableContentKey: Data, forContentKeyIdentifier keyIdentifier: Any)
So, when you have both a storageDuration & playbackDuration, your CKC will get updated once it starts playing the first time. You should capture that by implementing the function above and overwriting the currently persistent key.
Hope this helps anyone